/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.ejb.dae.khachhang;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.sql.rowset.WebRowSet;
import uit.ejb.dto.KhachHangDTO;

/**
 *
 * @author Restart
 */
public interface KhachHangDAERemote extends EJBObject {
    boolean khachHang_Insert(KhachHangDTO khachhang) throws RemoteException;

    boolean khachHang_Update(KhachHangDTO khachhang) throws RemoteException;

    boolean khachHang_Delete(String id) throws RemoteException;

    WebRowSet khachHang_GetById(String id) throws RemoteException;

    WebRowSet khachHang_GetByTop(String top, String where, String order) throws RemoteException;

    String khachHang_GetMaxMaKH() throws RemoteException;
}
